﻿using rmTest.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rmTest_2.Model
{
    public class EastVocalMimicry : BaseVocalMimicry, IPay
    {
        private string _name = "东派";
        public EastVocalMimicry()
        {
            this.Name = _name;
        }
        public EastVocalMimicry(double temperature)
        {
            this.Name = _name;
            this.FireTemperature = temperature;
        }

        /// <summary>
        /// 属性
        /// </summary>
        public string Prop { get; set; }
        /// <summary>
        /// 绝活
        /// </summary>
        public override void UniqueSkill(Action<string> action)
        {
            action.Invoke(this.Name);
        }

        public override void ImitateDogVoice()
        {
            LogUtil.Instance.PrintLog(this.Name + "：狗叫声");
        }

        public override void ImitatePeopleVoice()
        {
            LogUtil.Instance.PrintLog(this.Name + "：人叫声");
        }

        public override void ImitateWindVoice()
        {
            LogUtil.Instance.PrintLog(this.Name + "：风声");
        }

        public void PayMoney()
        {
            LogUtil.Instance.PrintLog(this.Name + "：该打赏一下了");
        }
    }
}
